
package com.base.po.voip;

import java.util.Date;

/**
 * 话费退款实体类
 * @author PQ
 * @Date 2019/8/23 10:04
 */
public class Refund {
    private String id;
    private String userId;                //用户ID
    private String parentId;            //商家ID
    private String orderId;              //订单ID
    private Date CreateTime;         //创建时间
    private int  status;                     //-1表示待审核  0表示未申请  1表示已退款
    private String remark;              //申请理由
    private String username;          //用户名
    private String parentName;     //商家名
    private String orderNum ;       //订单编号

    public Refund() {
    }

    public Refund(String id, String userId, String parentId, String orderId, Date createTime, int status, String remark) {
        this.id = id;
        this.userId = userId;
        this.parentId = parentId;
        this.orderId = orderId;
        CreateTime = createTime;
        this.status = status;
        this.remark = remark;
    }

    public String getUsername() {
        return username;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Date getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(Date createTime) {
        CreateTime = createTime;
    }

    @Override
    public String toString() {
        return "Refund{" +
                "id='" + id + '\'' +
                ", userId='" + userId + '\'' +
                ", parentId='" + parentId + '\'' +
                ", orderId='" + orderId + '\'' +
                ", CreateTime=" + CreateTime +
                ", status=" + status +
                ", remark='" + remark + '\'' +
                ", username='" + username + '\'' +
                ", parentName='" + parentName + '\'' +
                '}';
    }

}
